package com.skyun.watchmanager;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;
import android.widget.TextView;

/**
 * Created by skyun on 17/8/21.
 */

public class InfoActivity extends AppCompatActivity {

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_info);

        Object info = getIntent().getSerializableExtra("info");
        ((TextView) findViewById(R.id.info_tv_info)).setText(info.toString());
    }
}
